﻿namespace RVNetworkLib
{
    public enum ErrorCode : ushort
    {
        Success             = 0x0,
        NotImplemented      = 0x1,
        NetworkError        = 0x2,

        // Register error
        DuplicatedName      = 0x4,

        // Login error
        UserNotFound        = 0x5,
        IncorrectPassword   = 0x6,

        // Join room error
        RoomFull            = 0x7,

        SendTimeout         = 0x100,
        ReceiveTimeout      = 0x101,
    }
}
